/*
 * BanBu_MediaView
 * @description 本文件提供chatcell里面的图片显示控件（UIImageView）
 * @package
 * @author 		***
 * @copyright
 * @version 		1.0
 * @description 本文件提供chatcell里面的图片显示控件（UIImageView）
 */

#import <UIKit/UIKit.h>
#import "UIButton+WebCache.h"
#import "MWPhotoBrowser.h"
#import <QuartzCore/QuartzCore.h>
#import "SCGIFImageView.h"
#import "BanBu_ChatToseePic.h"
#import "BanBu_MWNavigationController.h"
#import "BanBu_ChatCellAPI.h"

@class BanBu_ChatViewController;


@interface BanBu_MediaView : UIView <UIImagePickerControllerDelegate,UINavigationControllerDelegate,MWPhotoBrowserDelegate>

@property(nonatomic, retain) NSString *mediaPath;
@property(nonatomic, assign) UIButton *showButton;
@property (retain, nonatomic) UILabel * hintLabel;
@property(nonatomic, retain) UIImageView *playingView;
@property(nonatomic, assign) MediaStatus status;
@property(nonatomic, assign) BanBu_ChatViewController *appChatController;
@property(nonatomic,retain)  NSMutableArray *showPhotos;

@property(nonatomic,retain)  SCGIFImageView *gifView;
- (void)setMedia:(NSString *)mediaStr;

@property(assign, nonatomic) BOOL snapMsg;
- (void)btnAction:(UIButton *)button;

- (void)setMedia:(NSString *)mediaStr withFrom:(NSString *)from;
@property (retain, nonatomic)NSString * imagePath;

@property (retain, nonatomic)NSString * from;
@end